Auto merge of #3914 - jwilm:specifying-dependencies-replace-note, r=alexcrichton
authorbors <bors@rust-lang.org>
Mon, 10 Apr 2017 20:40:50 +0000 (20:40 +0000)
committerbors <bors@rust-lang.org>
Mon, 10 Apr 2017 20:40:50 +0000 (20:40 +0000)
commit28d218c4bf842ccc90c0001425db92d2fc50bd5b
tree65cf4ac0a890784447913c38c18ea65ec3fc5528
parentda4fadf6be3ef5030e411d3360244cf685617a58
parent1c4c4289f9b67998e5f8a77056bcacd76b13f886
Auto merge of #3914 - jwilm:specifying-dependencies-replace-note, r=alexcrichton

Add note about Cargo.lock behavior with [replace]

The Cargo.lock behavior when using [replace] can be misleading if one
does not expect multiple versions of the crate to be included. This note
is intended to assure users that this behavior is expected, and it
suggests a way to verify their `[replace]` override is preferred.

I ran into this issue and ended up bugging @alexcrichton about it. Hopefully including this will reduce the support burden on cargo devs :smile:.